# Configuration file for running Sinatra on a Dreamhost website with Passenger
#
# Before running, confirm this directory structure:
#     <application root directory>
#        - log
#        - tmp
#        - public

# load local gems
require '/path/to/.gem/ruby/1.8/gems/rack-1.1.0/lib/rack.rb'
require '/path/to/.gem/ruby/1.8/gems/sinatra-0.9.4/lib/sinatra.rb'
require 'bcmobilevideo'

# prepare the log
log = File.new("log/sinatra.log", "w")
STDOUT.reopen(log)
STDERR.reopen(log)

run Sinatra::Application